Conventional and Uniqueness Typing in Graph Rewrite Systems

نویسندگان

  • Erik Barendsen
  • Sjaak Smetsers
چکیده

In this paper we describe a Curry-like type system for graphs and extend it with uniqueness information to indicate that certain objects are onlyìocally accessible'. The correctness of type assignment guarantees that no external access on such an object will take place in the future. We prove that types are preserved under reduction (for both type systems) for a large class of rewrite systems. Adding uniqueness information provides a solution to two problems in implementations of functional languages: eecient space management and interfacing with non-functional operations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Uniqueness Typing in Theory and Practice

We present uniqueness typing as an extension of a familiar Curry style typing system for graph rewrite systems. This provides a method for combining purely functional programming with operations having side-eeects, while preserving the functional nature of the language. We give a technical account as well as the underlying intuition. The system is shown to be eeective in the sense that a unique...

متن کامل

Uniqueness Typing for Functional Languages with Graph Rewriting Semantics

We present two type systems for term graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case. The conventional system resembles tradi...

متن کامل

Uniqueness Typing in Natural Deduction Style

We present two type systems for graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case. The conventional system resembles traditiona...

متن کامل

Derivation System for Uniqueness TypingErik

We present two systems for rst-order typing of graph expressions, in natural deduction style: conventional typing and (polymorphic) uniqueness typing. In both type systems, typing is preserved during evaluation, and types can be determined eeectively.

متن کامل

Guaranteeing Safe Destructive Updates Through a Type System with Uniqueness Information for Graphs

In this paper we present a type system for graph rewrite systems uniqueness typing It employs usage information to deduce whether an object is unique at a certain moment i e is only locally accessible In a type of a function it can be speci ed that the function requires a unique argument object The correctness of type assignment guarantees that no external access on the original object will tak...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993